package cn.xsly.system.mapper;

import cn.xsly.system.domain.Role;
import cn.xsly.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xsly
 * @since 2022-09-21
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addRoleMenu(Role role);

    void addPermission(Role role);

    void delRoleMenu(Long id);

    void delRoleRermission(Long id);

    void delRoleEmployee(Long id);
}
